package com.ruoyi.sj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 提现记录表 sj_withdraw
 *
 * @author tyc@yanyu.com
 * @date 2018-11-30
 */
public class Withdraw extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    /**
     * 用户ID号
     */
    private Long memberId;
    /**
     * 提现时间
     */
    private String withdrawTime;
    /**
     * 提现金额
     */
    private BigDecimal withdrawMoney;
    /**
     * 到账时间
     */
    private String accountTime;
    /**
     * 到账金额
     */
    private BigDecimal accountMoney;
    /**
     * 到账银行卡号
     */
    private String bankCardNum;
    /**
     * 提现状态 1、成功 2、失败
     */
    private Integer status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setWithdrawTime(String withdrawTime) {
        this.withdrawTime = withdrawTime;
    }

    public String getAccountTime() {
        return accountTime;
    }

    public void setAccountTime(String accountTime) {
        this.accountTime = accountTime;
    }

    public BigDecimal getAccountMoney() {
        return accountMoney;
    }

    public void setAccountMoney(BigDecimal accountMoney) {
        this.accountMoney = accountMoney;
    }

    public String getWithdrawTime() {
        return withdrawTime;
    }

    public void setWithdrawMoney(BigDecimal withdrawMoney) {
        this.withdrawMoney = withdrawMoney;
    }

    public BigDecimal getWithdrawMoney() {
        return withdrawMoney;
    }

    public void setBankCardNum(String bankCardNum) {
        this.bankCardNum = bankCardNum;
    }

    public String getBankCardNum() {
        return bankCardNum;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("memberId", getMemberId())
                .append("withdrawTime", getWithdrawTime())
                .append("withdrawMoney", getWithdrawMoney())
                .append(" accountTime",getAccountTime())
                .append(" accountMoney",getAccountMoney())
                .append("bankCardNum", getBankCardNum())
                .append("status", getStatus())
                .toString();
    }
}
